package com.engineering.elink.util.global;

public class ResponseStatus {
	public final static int RequestSuccess = 1000;
	public final static String RequestSuccessMessage = "成功";

	public final static int DataFormatError = 1001;
	public final static String DataFormatErrorMessage = "数据错误";
	
	public final static int ResponseEmpty = 1002;
	public final static String ResponseEmptyMessage = "无内容";
	
	public final static int AuthTokenExpired = 1002;
	public final static String AuthTokenExpiredMessage = "身份失效";
	
	public final static int UploadFileSuccess = 2050;
	public final static String UploadFileSuccessMessage = "上传文件成功";
	
	public final static int UploadFileFailed = 2051;
	public final static String UploadFileFailedMessage = "上传文件失败";
	
	public final static int UploadFileEmpty = 2052;
	public final static String UploadFileEmptyMessage = "文件不存在";

	public final static int VideoFormatError = 2053;
	public final static String VideoFormatErrorMessage = "视频格式错误";
	
	public final static int VideoWriteFailed = 2054;
	public final static String VideoWriteFailedMessage = "视频写入失败";
	
	public final static int VideoLengthError = 2055;
	public final static String VideoLengthErrorMessage = "视频长度错误";
	
	public final static int NotApplyCourse = 2061;
	public final static String NotApplyCourseMessage = "没有报名";
	
	public final static int ApplyCourseFailed = 2062;
	public final static String ApplyCourseFailedMessage = "报名失败";
	
	
	/**
	 * %hostAddress%/user/checkUsername/{username}
	 */
	public final static int UsernameExist = 1010;
	public final static String UsernameExistMessage = "用户名已存在，请重新输入";
	
	/**
	 * %hostAddress%/user/checkPhone/{phone}
	 */
	public final static int PhoneExist = 1020;
	public final static String PhoneExistMessage = "手机号已存在";
	
	/**
	 * %hostAddress%/user/checkEmail/{email}
	 */
	public final static int EmailExist = 1030;
	public final static String EmailExistMessage = "邮箱已存在";
	public final static int EmailFormatError = 1031;
	public final static String EmailFormatErrorMessage = "邮箱格式错误";
	
	/**
	 * %hostAddress%/user/checkVerifyCodeForPhone
	 */
	public final static int VerifyCodeCheckFailed = 1040;
	public final static String VerifyCodeCheckFailedMessage = "验证码错误";
	public final static int SendPhoneVerifyCodeFailed = 1041;
	public final static String SendPhoneVerifyCodeFailedMessage = "发送验证码错误";
	

	/**
	 * %hostAddress%/user/checkVerifyCodeForEmail
	 */
	public final static int SendEmailVerifyCodeFailed = 1041;
	public final static String SendEmailVerifyCodeFailedMessage = "发送验证码错误";
	
}
